package FactoryPattern;

public class Test {
    public static void main(String[] args) {
      AbstractProductFactory factory = new ProductFactory();
      Product product = factory.createProduct(1);
      product.function();
    }
}
